#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <windows.h>

#define _CRT_SECURE_NO_WARNINGS

#define ROWS 11
#define COLS 11
#define ROW ROWS-2
#define COL COLS-2

#define mine_num 10

void init_board(char str[ROWS][COLS], int rows, int cols, char set);
void dispalyboard(char show[ROWS][COLS],int row, int col);
void set_mine(char mine[ROWS][COLS], int row, int col);
void find_mine(char mine[ROWS][COLS], char show[ROWS][COLS], int row, int col);